package cn.intotw.rdcj.admin.domain.dao;


import cn.intotw.rdcj.admin.domain.po.RolesResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RolesResourceDao extends BaseMapper<RolesResource> {
    int deleteByPrimaryKey(Integer id);

    int insert(RolesResource record);

    int insertSelective(RolesResource record);

    RolesResource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RolesResource record);

    int updateByPrimaryKey(RolesResource record);

    List<String> selectPermissionByUserId(Long userId);

}